
package com.insigma.business.qrcode.soldier.service;



import com.insigma.business.qrcode.common.dto.GovEmployeeJobDO;
import com.insigma.business.qrcode.common.dto.GovOrgBSearcher;
import com.insigma.business.qrcode.soldier.entity.GovEmployeeDO;
import com.insigma.business.qrcode.soldier.entity.GovOrgDO;

import java.util.List;


public interface ZzdGovOrgService {

    
    GovOrgDO get(final String id);

    
    Integer insert(final GovOrgDO govOrg);

    
    Integer update(final GovOrgDO govOrg);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

    Integer insertEmployee(GovEmployeeDO employeeDO);

    Integer insertJob(GovEmployeeJobDO jobDO);

    List<GovEmployeeDO> listEmployeeByAdminAreaCode(String residentAdminAreaCode);

    List<GovEmployeeDO> listEmployeeByName(String realName);

    void realDelAllOriginData(String adminAreaCode);

    GovEmployeeDO getEmployeeByOuterAccountId(String zzdId);

    GovEmployeeDO getZzdEmployee(String id);

    List<GovEmployeeDO> getFwzWorkers(String adminAreaCode, String type);

    
    List<GovEmployeeDO> getRootSubFwzWorkers(String rootAdminAreaCode, String soldierAdminAreaCode, String type);

    List<GovOrgDO> listByAreaCode(String adminAreaCode);

    Integer insertZzdGov(GovOrgDO govOrg);

    Integer deleteEmployee(String id, String modifierType, String modifierId);

    List<GovOrgDO> searchGov(GovOrgBSearcher govOrgBSearcher);
}
